package com.scs.service;

import com.scs.pojo.ReleaseTask;
import com.scs.pojo.ReleaseTaskChild;
import com.scs.pojo.UploadTask;

import java.util.List;

public interface TaskService {
    int releaseTaskInsert(ReleaseTask releaseTask);
    List<ReleaseTask> studentSelectTask(String courseName, String classes, String taskName);
    List<String> getTaskNameByCourseNameAndClasses(String classes, String courseName);
    int updataReleaseTask(String courseName, String classes, String taskName, String fileName, String path1);
    //教师获取布置作业
    List<ReleaseTaskChild> teacherGetTask(String teacherId);

    List<ReleaseTaskChild> getTaskById(String taskId);

    //学生获取作业
    List<ReleaseTaskChild>  studentGetTask(String classes,String userId);
    //教师删除作业
    int teacherDeleteTask(List<String> taskId);
}
